package com.wh.wisdomsite.xbox.us.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 海康用户表
 * @author 刘旭
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.us.entity
 * @date 2018年09月04日 11:02
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("us_hkUser")
public class HkUser extends Model<HkUser> {

    /**
     * 海康用户id
     */
    @TableId(type = IdType.UUID)
    private String userUuid;

    /**
     * 登录用户名
     */
    @TableField("loginAccount")
    private String loginAccount;

    /**
     * 用户姓名
     */
    @TableField("userName")
    private String userName;

    /**
     * 联系电话
     */
    @TableField("mobile")
    private String mobile;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 用户级别
     */
    @TableField("level")
    private String level;

    /**
     * 锁定状态
     */
    @TableField("locked")
    private String locked;

    /**
     * 失效日期
     */
    @TableField("endTime")
    private Long endTime;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private Long createTime;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    private Long updateTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * IP区间开始
     */
    @TableField("ipStart")
    private String ipStart;

    /**
     * IP区间结束
     */
    @TableField("ipEnd")
    private String ipEnd;

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIpStart() {
        return ipStart;
    }

    public void setIpStart(String ipStart) {
        this.ipStart = ipStart;
    }

    public String getIpEnd() {
        return ipEnd;
    }

    public void setIpEnd(String ipEnd) {
        this.ipEnd = ipEnd;
    }

    @Override
    protected Serializable pkVal() {
        return this.userUuid;
    }
}
